package com.logic.landseaserver.persistence.read;

import java.util.List;
import java.util.Map;

import com.logic.common.util.QueryUtil;
import com.logic.landseaserver.domain.BalanceSheetRecord;

public interface BalanceSheetRecordReadMapper
{
    BalanceSheetRecord selectByPrimaryKey(Integer id);

    String selectExpenditure(String type);

    List<BalanceSheetRecord> queryByCondition(QueryUtil condition);

    List<BalanceSheetRecord> selectEditRecord(Map<String, Object> editRecord);

    BalanceSheetRecord selectCheckOutRecord(Map<String, Object> editRecord);
    
    /**
     * 
     * [简要描述]：查询balance除了最新的支付其他所有的</br>
     * [详细描述]：</br>
     * [作者]：Aaron(2017-09-21)</br>
     *
     * @param editRecord
     * @return
     *
     */
    List<BalanceSheetRecord> selectExcludeLastPay(Map<String, Object> editRecord);
}